import { ExecutionContext } from './execution-context.interface'

/**
 * 所有的守卫都需要实现 CanActivate 接口
 */
export interface CanActivate {
  canActivate(context: ExecutionContext): boolean | Promise<boolean>
}
